package stu.jiajia.bean;

public class Human {
    String code;
    String name;
    String gender;
    String birth;

    public Human() {

    }
    public Human(String nm) {
        name = nm;
    }

    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getGender() {
        return gender;
    }
    public void setGender(String gender) {
        this.gender = gender;
    }
    public String getBirth() {
        return birth;
    }
    public void setBirth(String birth) {
        this.birth = birth;
    }

    void introduce() {
        System.out.println("I am " + name);
    }
}
